'use strict';
module.exports = (app)=>{
    const mongoose = app.mongoose;
    const Schema = mongoose.Schema;

    const TagSchema = new Schema({
        name: {
            type: String,
            required:true
          },
        uid:{
            type:String,
            required:true
        }
    },{ timestamps: true });

    return mongoose.model('Tag', TagSchema);
}